package cn.iocoder.yudao.module.bpm.controller.admin.oaapply.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - OA 请假申请分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class OaApplyPageReqVO extends PageParam {

    @Schema(description = "申请人的用户编号", example = "29440")
    private Long userId;

    @Schema(description = "请假原因", example = "不香")
    private String reason;

    @Schema(description = "流程实例的编号", example = "20486")
    private String processInstanceId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "部门id")
    private String bm;

    @Schema(description = "申请日期")
    private String sqrq;

    @Schema(description = "总时长")
    private String zsc;

    @Schema(description = "bpmkey")
    private String bpmDefKey;

}